package org.springframework.beans.factory.config;

/**
 * 实例化前后的后置处理器
 */
public interface InstantiationAwareBeanPostProcessor extends BeanPostProcessor {

    //解析aspect切面信息
    default Object postProcessBeforeInstantiation(Class<?> beanClass, String beanName){
        return null;
    }
    //true 需要DI
    default boolean postProcessAfterInstantiation(Object bean, String beanName){
        return true;
    }

    default PropertyValue postProcessPropertyValue(PropertyValue pvs, Object bean, String beanName){
        return null;
    }
}
